package com.artgogo.artgogoerp.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Calendar;

public class User implements Serializable {

    /**
     * 用户模型 id 用户ID name 用户名 password md5密码 lastLoginDate 上次登录时间 
     * undealEvent 未处理事务
     */
    private static final long serialVersionUID = -7351729135012380019L;

    public static final String KEY_ID = "id";
    public static final String KEY_NAME = "name";
    public static final String KEY_PASSWORD = "password";
    public static final String KEY_LASTLOGINDATE = "lastLoginDate";
    public static final String KEY_UNDEALEVENT = "undealEvent";

    private int id;
    private String name;
    private String password;
    private Calendar lastLoginDate;
    private ArrayList<Integer> undealEvent;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Calendar getLastLoginDate() {
        return lastLoginDate;
    }

    public void setLastLoginDate(Calendar lastLoginDate) {
        this.lastLoginDate = lastLoginDate;
    }

    public ArrayList<Integer> getUndealEvent() {
        return undealEvent;
    }

    public void setUndealEvent(ArrayList<Integer> undealEvent) {
        this.undealEvent = undealEvent;
    }
}
